package cn.xinfei.xdecision.common.model.component.decisiontree.vo;

import cn.xinfei.xdecision.common.utils.enums.enginex.ComponentVersionStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class DecisionTreeVersionListVo {

    @ApiModelProperty("版本id")
    private Long id;

    @ApiModelProperty("决策树规则code")
    private String decisionTreeCode;

    @ApiModelProperty("版本code")
    private Long versionNo;

    private String versionNoDesc;

    @ApiModelProperty("版本说明")
    private String description;

    /**
     * @see ComponentVersionStatusEnum
     */
    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("最新版本")
    private String statusDesc;

    @ApiModelProperty("创建人")
    private Long createUserId;

    @ApiModelProperty("创建人姓名")
    private String createUserName;

    @ApiModelProperty("更新人")
    private Long updateUserId;

    @ApiModelProperty("更新人姓名")
    private String updateUserName;

    @ApiModelProperty("创建时间")
    private String createdTime;

    @ApiModelProperty("更新时间")
    private String updatedTime;

}
